﻿namespace Cos.Core.Model.Blog
{
    using System;

    using Cos.Core.Model.Common;

    public class Blog : DomainModelBase
    {
        /// <summary>
        /// Gets or sets the blog id.
        /// </summary>
        /// <value>The id.</value>
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets the number of articles.
        /// </summary>
        /// <value>The number of articles.</value>
        public int NumberOfArticles { get; set; }

        /// <summary>
        /// Gets or sets the owner id.
        /// </summary>
        /// <value>The owner id.</value>
        public string OwnerId { get; set; }

        /// <summary>
        /// Gets or sets the first name of the owner.
        /// </summary>
        /// <value>The first name of the owner.</value>
        public string OwnerFirstName { get; set; }

        /// <summary>
        /// Gets or sets the last name of the owner.
        /// </summary>
        /// <value>The last name of the owner.</value>
        public string OwnerLastName { get; set; }

        public string CultureCode { get; set; }

        /// <summary>
        /// Gets or sets the text.
        /// </summary>
        /// <value>The blog text.</value>
        public string Text { get; set; }

        /// <summary>
        /// Gets or sets the title.
        /// </summary>
        /// <value>The title.</value>
        public string Title { get; set; }

        /// <summary>
        /// Gets or sets the creation date.
        /// </summary>
        /// <value>The creation date.</value>
        public DateTime CreationDate { get; set; }

        /// <summary>
        /// Gets or sets the last modified.
        /// </summary>
        /// <value>The last modified.</value>
        public DateTime LastModified { get; set; }

        //public IEnumerable<Article> Articles { get; set; }
    }
}
